package cn.outsourcing.supermarket.dto.backstage;

import cn.outsourcing.supermarket.vo.backstage.BackstageGalleryDataVO;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author gzkemays
 * @since 2021/11/4 1:01
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class BackstageGoodsStoreInfoDTO {
  private Integer id;
  private String name;
  private Integer categoryId;
  private String costPrice;
  private Integer freightTemplateId;
  private Integer freightType;
  private String goodsBrief;
  private String goodsDesc;
  private Integer goodsNumber;
  private List<BackstageGalleryDataVO> gallery;
  /** 商品单位 */
  private String goodsUnit;
  /** 商品https图 */
  private String httpsPicUrl;

  private Integer isDelete;
  private Integer isIndex;
  private Boolean isNew;
  private String isOnSale;
  private String keywords;
  /** 商品列表图 */
  private String listPicUrl;

  private Integer sellVolume;
  private String retailPrice;
  private BigDecimal minRetailPrice;
  private BigDecimal minCostPrice;
  private Integer sortOrder;
}
